/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package session;

import entities.BookRooms;
import entities.Customers;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author TANGQUOCTUAN
 */
@Local
public interface BookRoomsFacadeLocal {

    void create(BookRooms bookRooms);

    void edit(BookRooms bookRooms);

    void remove(BookRooms bookRooms);

    BookRooms find(Object id);

    List<BookRooms> findAll();

    List<BookRooms> findRange(int[] range);

    int count();

    List showBookRoom();

    boolean deleteBookRoom(Integer id);

    boolean updateRoom(Integer id, boolean status);

    boolean insertBookRoom(int roomID, int resID, String custID, int capacity, Date startDayTime, Date endDayTime, BigDecimal reserveFee);

    List<BookRooms> showallbyID(String username);

    List<BookRooms> reportShowBookRoom(Date fromdate, Date todate);
}
